package com.ming.service.impl;

import com.ming.dao.TbRoleMapper;
import com.ming.service.TbRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * @author MING
 * @date 2018/9/7 15:58
 */
@Service
public class TbRoleServiceImpl implements TbRoleService {
    @Autowired
    private TbRoleMapper tbRoleMapper;


    @Override
    public Set<String> getRole(String userName) {
        return tbRoleMapper.getRole(userName);
    }
}
